package com.example.glgk.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lxk
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("INDICATOR_DATA")
public class IndicatorDataEntity {

    @ApiModelProperty(name = "主键", notes = "")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "指标编码")
    @TableField("INDEX_CODE")
    private String indexCode;

    @ApiModelProperty(value = "指标名称")
    @TableField("INDEX_NAME")
    private String indexName;

    @ApiModelProperty(value = "指标描述")
    @TableField("INDEX_DESCRIBE")
    private String indexDescribe;

    @ApiModelProperty(value = "指标单位")
    @TableField("INDEX_UNIT")
    private String indexUnit;

    @ApiModelProperty(value = "指标计算公式（中文）")
    @TableField("CALCULATION_FORMULA")
    private String calculationFormula;

    @ApiModelProperty(value = "计算公式元素主键")
    @TableField("CALCULATION_FORMULA_ID")
    private String calculationFormulaId;

    @ApiModelProperty(value = "0.停用 1.启用 (无论停启页面都展示)")
    @TableField("INDEX_ENABLE")
    private String indexEnable;

    @ApiModelProperty(value = "启用时间")
    @TableField("ENABLE_TIME")
    private String enableTime;

    @ApiModelProperty(value = "版本")
    @TableField("VERSION")
    private String version;

    @ApiModelProperty(value = "元素的id，逗号分割")
    @TableField("IDS")
    private String ids;

    @ApiModelProperty(value = "指标新增时间")
    @TableField("CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "0.版本停用1.正常 这是用来展示判断")
    @TableField("FLAG")
    private String flag;

    @ApiModelProperty(value = "机构维度 院级 科室级 全院")
    @TableField("AFFILIATED_DEP")
    private String affiliatedDep;

    @ApiModelProperty(value = "时间维度")
    @TableField("TIME_DIMENSION")
    private String timeDimension;

    @ApiModelProperty(value = "科室组编码")
    @TableField("CLASS_CODE")
    private String classCode;

    @ApiModelProperty(value = "排名")
    private int rank;

    @ApiModelProperty(value = "满分值")
    private double mfz;

    @ApiModelProperty(value = "指标导向")
    private String dx;

    @ApiModelProperty(value = "责任部门")
    private String zrbm;

    @ApiModelProperty(value = "分管领导")
    private String fgld;
}
